//查看项目相关的接口函数
import request from '@/utils/request'

//根据id查询项目
export const getProjectInfoByIdApi = id => {
    return request({
        url: `/project/${id}`,
        method: "get"
    })
}
export const getMatchInfoByIdApi = id => {
    return request({
        url:`/project/match/${id}`,
        method:"get"
    })
}

export const getMemberInfoByIdApi = id => {
    return request({
        url:`/project/member/${id}`,
        method:"get"
    })
}

export const getInstructorInfoByIdApi = id => {
    return request({
        url:`/project/instructor/${id}`,
        method:"get"
    })
}

export const getReceiptInfoByIdApi = id => {
    return request({
        url:`/project/receipt/${id}`,
        method:"get"
    })
}

export const getArticleInfoByIdApi = id => {
    return request({
        url:`/project/article/${id}`,
        method:"get"
    })
}

export const getAwardInfoByIdApi = id => {
    return request({
        url:`/project/award/${id}`,
        method:"get"
    })
}
export const getPatentInfoByIdApi = id => {
    return request({
        url:`/project/patent/${id}`,
        method:"get"
    })
}
export const getCopyrightInfoByIdApi = id => {
    return request({
        url:`/project/copyright/${id}`,
        method:"get"
    })
}
export const getTrademarkInfoByIdApi = id => {
    return request({
        url:`/project/trademark/${id}`,
        method:"get"
    })
}
